<div class="form-body">
    <div class="form-group">
        <label class="col-md-3 control-label" for="code">节点ID</label>
        <div class="col-md-5">
            <input type="text" class="form-control" id="code" name="m.code" placeholder="Enter code"
                   value="${m.code!}" readonly/>
        </div>
    </div>
    <div class="form-group">
        <label class="col-md-3 control-label" for="parentcode">父节点ID</label>
        <div class="col-md-5">
            <input type="text" class="form-control" id="parentcode" name="parentname" placeholder="选择"/>
            <button type="button" class="btn blue" data-target="#select_menuTree" data-toggle="modal">选择父菜单
            </button>
        </div>
        <input type="hidden" name="m.parentcode" value="${m.parentcode!}"/>
    </div>
    <div class="form-group">
        <label class="col-md-3 control-label" for="encode">缩写</label>
        <div class="col-md-5">
            <input type="text" class="form-control" id="encode" name="m.encode" placeholder="Encode"
                   value="${m.encode!}"/>
        </div>
        <span class="status"></span> <#-- 表单校验使用 -->
    </div>
    <div class="form-group">
        <label class="col-md-3 control-label" for="name">节点名称</label>
        <div class="col-md-5">
            <input type="text" class="form-control" id="name" name="m.name" placeholder="Menu name"
                   value="${m.name!}"/>
        </div>
        <span class="status"></span>
    </div>
    <div class="form-group">
        <label class="col-md-3 control-label" for="url">URL</label>
        <div class="col-md-5">
            <input type="text" id="url" name="m.url" class="form-control" placeholder="/xx/aaa"
                   value="${m.url!}">
        </div>
        <span class="status"></span>
    </div>
    <div class="form-group">
        <label class="col-md-3 control-label" for="uiicon">icon</label>
        <div class="col-md-5">
            <input type="text" id="uiicon" name="m.uiicon" class="form-control" placeholder="select icon"
                   value="${m.uiicon!}">
            <button type="button" class="btn blue" data-target="#select_icon" data-toggle="modal">选择图标
            </button>
        </div>
    </div>
    <div class="form-group">
        <label class="col-md-3 control-label">是否有效</label>
        <div class="col-md-5">
            <select class="form-control" id="liveflag" name="m.liveflag">
                <option value="1">是</option>
                <option value="0">否</option>
            </select>
        </div>
    </div>
    <div class="form-group">
        <label class="col-md-3 control-label">叶子节点</label>
        <div class="col-md-5">
            <select class="form-control" id="isleaf" name="m.isleaf">
                <option value="true">是</option>
                <option value="false">否</option>
            </select>
        </div>
    </div>
    <div class="form-group">
        <label class="col-md-3 control-label">备注</label>
        <div class="col-md-5">
            <textarea rows="3" name="m.remark" class="form-control">${m.remark!}</textarea>
        </div>
    </div>
</div>